package com.joolun.script.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.joolun.script.entity.WxUserExt;
import com.joolun.weixin.entity.WxUser;

import java.util.List;
import java.util.Map;

/**
 * 用户扩展表
 *
 * @author 臣服
 * @date 2022-01-12 10:52:45
 */
public interface WxUserExtService extends IService<WxUserExt> {

    WxUserExt getByUserId(String wxUserId);

    WxUserExt addExt(WxUser wxUser);

    Boolean updateByUserId(String id, String school);

    List<WxUserExt> queryByUserIdList(List<String> userIdList);

    Map<String, WxUserExt> getExtMap(List<WxUserExt> wxUserExtList);

}
